query getPipelineSchedulesQuery($projectPath: ID!, $status: PipelineScheduleStatus) {
  currentUser {
    id
    username
  }
  project(fullPath: $projectPath) {
    id
    pipelineSchedules(status: $status) {
      count
      nodes {
        id
        description
        forTag
        refPath
        refForDisplay
        lastPipeline {
          id
          detailedStatus {
            id
            group
            icon
            label
            text
            detailsPath
          }
        }
        active
        nextRunAt
        realNextRun
        owner {
          id
          username
          avatarUrl
          name
          webPath
        }
        userPermissions {
          playPipelineSchedule
          updatePipelineSchedule
          adminPipelineSchedule
        }
      }
    }
  }
}
